﻿<phone:PhoneApplicationPage 
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
	xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
	xmlns:local="clr-namespace:PiggyBank"
	mc:Ignorable="d" d:DesignWidth="480" d:DesignHeight="800"
	x:Class="PiggyBank.Game"
	FontFamily="{StaticResource PhoneFontFamilyNormal}"
	FontSize="{StaticResource PhoneFontSizeNormal}"
	Foreground="{StaticResource PhoneForegroundBrush}"
	Orientation="Portrait"
	shell:SystemTray.IsVisible="False">

	<!--LayoutRoot is the root grid where all page content is placed-->
	<Grid x:Name="LayoutRoot">
		<Grid.Background>
			<ImageBrush Stretch="Fill" ImageSource="Res/back.jpg"/>
		</Grid.Background>
		<Image x:Name="imagePig" Margin="38,168,32,288" Source="/Res/pig.png" Stretch="Fill"/>
		
		<local:MoblieTip Height="129" Margin="0,35,32,0" VerticalAlignment="Top" HorizontalAlignment="Right" Width="206"/>
		<TextBlock x:Name="textmoney" HorizontalAlignment="Left" Height="86" Margin="8,0,0,12" TextWrapping="Wrap" Text="0" VerticalAlignment="Bottom" Width="124" FontFamily="Arial Black" FontSize="56" TextAlignment="Right"/>
		<TextBlock x:Name="texttime" HorizontalAlignment="Right" Height="33" Margin="0,0,8,22" TextWrapping="Wrap" Text="99999" VerticalAlignment="Bottom" Width="147" FontFamily="Arial Black" FontSize="29.333"/>
		<TextBlock Height="33" Margin="228,0,159,22" TextWrapping="Wrap" VerticalAlignment="Bottom" FontFamily="Arial Black" FontSize="29.333"><Run Text="Time"/><Run Text=":"/></TextBlock>
		<Image HorizontalAlignment="Left" Height="56" Margin="147,0,0,25" Source="Res/money/m0.png" Stretch="Fill" VerticalAlignment="Bottom" Width="56"/>
		<Canvas x:Name="gameCanvas"/>
		<Button Content="Test" HorizontalAlignment="Left" VerticalAlignment="Top" Click="Test_Click" Visibility="Collapsed"/>
        <Button x:Name="Btn_isVibrate" Content="Vibrate On" HorizontalAlignment="Left" VerticalAlignment="Top" Click="Button_Click"></Button>
	</Grid>
</phone:PhoneApplicationPage>